package com.kjs.execptionless;

import com.kjs.common.resultModel.JsonResult;


/**
 * Created by zmk523@163.com on 2019/6/21 14:17
 */

public class ExceptionMsg {

    public static JsonResult DataNotFound = new JsonResult(ExceptionCode.DataNotFound.value(), "数据不存在或已删除");
    public static JsonResult ParameterError = new JsonResult(ExceptionCode.ParameterError.value(), "参数错误");
    public static JsonResult UnknownError = new JsonResult(ExceptionCode.UnknownError.value(), "未知错误");
    public static JsonResult DataTypeError = new JsonResult(ExceptionCode.DataTypeError.value(), "数据类型错误");

    public static  JsonResult Unauthorized =new JsonResult(ExceptionCode.Unauthorized.value(),"未授权");

}
